package com.example.demo.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.example.demo.entity.BaseCustomEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 退生产物料 Entity定义
 * @author MyName
 * @version 1.0
 * @date 2024-03-04
 * Copyright © MyCompany
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("production_refund_material")
public class ProductionRefundMaterial extends BaseCustomEntity {

    private static final long serialVersionUID = -2065122987880040237L;

    /**
     * 物料
     */
    @TableField()
    private Long procurementOrderItemId;

    /**
     * 数量
     */
    @TableField()
    private BigDecimal quantity;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.UPDATE)
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 单位
     */
    @TableField()
    private Long unitId;

    /**
     * 库房
     */
    @TableField()
    private Long storeroomId;

    /**
     * 货架
     */
    @TableField()
    private Long shelvesId;
}
